package dao

import (
	"context"
	"gorm.io/gorm"
)

type WasteChemicalDAO struct {
	db *gorm.DB
}

func NewWasteChemicalDap(db *gorm.DB) *WasteChemicalDAO {
	return &WasteChemicalDAO{
		db: db,
	}
}

func (dao *WasteChemicalDAO) Query(ctx context.Context, a WasteChemical) (WasteChemical, error) {
	return WasteChemical{}, nil
}

type WasteChemical struct {
	Id                  string `gorm:"autoIncrement, primary_key"`
	Year                string
	Location            string
	ExperimentalProject string
	Dead                int
	Injure              int
	WasteChemicalType   string
	Degree              string
	Equipment           string
	Chemicals           string
}
